package com.power.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.power.domain.SysUserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    int updateBySysUserId(@Param("userId") Long userId,@Param("roleId") Long roleId);

    void deleteByUserId(@Param("Id") List<Long> id);
}